import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'  
import store from './store/index'
//rem适配 
import 'lib-flexible/flexible.js'   
// 解决移动端点击延迟的bug
import FastClick from 'fastclick'
FastClick.attach(document.body) 

// 复制粘贴
import Clipboard from 'clipboard';  
// 全局挂载axios
Vue.prototype.axios = axios  
Vue.prototype.Clipboard = Clipboard
// 引入视频播放组件
import VideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
 
// 返回顶部组件
import BackTop from './components/content/backTop.vue'
Vue.component('BackTop',BackTop)
// 全局自动注册组件
import './global' 
import { Swipe, SwipeItem, NoticeBar,Overlay,Toast, Loading, Popup, List,RadioGroup, Radio } from 'vant';

Vue.use(Swipe).use(SwipeItem).use(NoticeBar).use(Overlay).use(Toast).use(VideoPlayer).use(Loading).use(Popup).use(List).use(RadioGroup).use(Radio); 
 Vue.config.productionTip = false

new Vue({
  store,
  router, 
  render: h => h(App)
}).$mount('#app')
